import _address from './request'

function auInfo () {
  return _address({
    url: '/au/info',
    needToken: true
    // headers: {
    //   authorization: `Bearer ${getLocal('token')}`
    // }
  })
}
function auEdit (data) {
  return _address({
    url: '/au/edit',
    method: 'post',
    data,
    needToken: true
  })
}
function upload (data) {
  return _address({
    url: '/upload',
    method: 'post',
    data,
    needToken: true
  })
}
export { auInfo, auEdit, upload }
